home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
LOGIC Apps
/
Logic-APPLE_II_APPS.iso
/
pc
/
LOGIC Apple II 5.25" Library - DOS Part 2
/
DOS038.dsk
/
LABEL PRINTER.bas
< prev
next >
Wrap
BASIC Source File
|
2012-02-16
|
2KB
|
50 lines
10 REM LABEL PRINTER PROGRAM
20 REM BY ATHOL H. COHEN
30 REM 11:MARCH:1981
40 HOME : VTAB 5: HTAB 10
50 PRINT "THIS IS A FIVE LINE"
60 PRINT : HTAB 9
70 PRINT "LABEL PRINTING PROGRAM"
80 PRINT : HTAB 5
90 PRINT "DESIGNED TO PRINT LABELS WITH A"
100 PRINT : HTAB 11: INVERSE
110 PRINT "CENTRONICS PRINTER"
120 NORMAL : PRINT : HTAB 6
130 PRINT "USING E X P A N D E D PRINT"
140 VTAB 22: HTAB 4
150 INPUT "IN WHICH SLOT IS YOUR PRINTER? ";SL
160 HOME
170 FOR H = 6 TO 14 STEP 2
180 VTAB H: HTAB 5:X = H/2 -2
190 PRINT "LINE NUMBER :";X
200 VTAB H: HTAB 20: CALL -958
210 PRINT "=============="
220 VTAB H: HTAB 20
230 INPUT "";L$(X)
240 IF LEN(L$(X)) >14 THEN 450
250 NEXT
260 VTAB 16: HTAB 12
270 INPUT "CORRECT (Y/N) : ";CR$
280 IF LEFT$(CR$,1) = "N" THEN 160
290 VTAB 16: HTAB 7
300 INPUT "HOW MANY DUPLICATE LABELS: ";DL
310 FOR Q = 1 TO DL
320 VTAB 18: HTAB 7
330 INPUT "ALIGN LABEL & HIT RETURN: ";I$
340 HOME : PR# (SL)
350 PRINT " ": REM FOR 730 ONLY
360 FOR X = 1 TO 5
370 PRINT CHR$(27); CHR$(14)
380 PRINT TAB( 15 +(14 - LEN(L$(X)))/2);L$(X)
390 NEXT X: PR# 0
400 NEXT Q
410 HOME : VTAB 10: HTAB 8
420 PRINT "PRINT ANOTHER LABEL ?";A$;
430 GET A$: PRINT A$: IF A$ = "Y" THEN 160
440 HOME : TEXT : END
450 POKE 32,33: POKE 33,7: HOME : TEXT
460 POKE 34,19: HOME : VTAB 20: HTAB 4
470 PRINT "THE MAXIMUM NUMBER OF CHARACTERS"
480 PRINT : HTAB 12: PRINT "IS LIMITED TO<CTRL-G><CTRL-G><CTRL-G><CTRL-G><CTRL-G><CTRL-G> ";
490 FLASH : PRINT "14": NORMAL
500 FOR P = 1 TO 1500: NEXT : HOME : TEXT : GOTO 180